package com.zhtx.debt.customer.utils;

import org.springframework.util.Assert;

import java.time.LocalDate;

/**
 * @description:
 * @author: liujin
 * @create: 2020-06-01 16:47
 */
public class Demoo {

    public static void main(String[] args) {
        LocalDate localDate = LocalDate.of(2020, 5, 31);
        LocalDate localDate1 = localDate.plusMonths(1);
        System.out.println(localDate1);
        localDate1 = localDate1.plusMonths(1);
        System.out.println(localDate1);
    }

    /**
     * 生成合同号
     *@param: [contractNo 报备合同号]
     *@author: liujin
     *@date: 2020/6/1
     */
    private static String generateContractNo(String contractNo) {
        LocalDate localDate = LocalDate.of(2020, 5, 31);
        LocalDate localDate1 = localDate.plusMonths(1);
        System.out.println(localDate);
        return "";
    }
}
